import '@babel/polyfill'
import Vue from 'vue'

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

// import tinymce from 'tinymce'
// Vue.prototype.$tinymce = tinymce
import VueTinymce from '@packy-tang/vue-tinymce'

import '@/styles/_reset.scss'
import 'vue2-animate/dist/vue2-animate.min.css'

import App from './App.vue'
import router from './router'
import store from './store'

Vue.use(ElementUI, { size: 'small' })
Vue.use(VueTinymce)

import '@/utils/directive'
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
